package com.common.matcher;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.security.web.util.matcher.RequestMatcher;

/**
 * @Description: 系统默认的登陆筛选器
 * @Date: 2025/6/6 13:26
 */
public class SystemDefaultLoginRequestMatcher implements RequestMatcher {

    private String loginURI = "/login";
    @Override
    public boolean matches(HttpServletRequest request) {
        String requestURI = request.getRequestURI();
        return loginURI.equals(requestURI);
    }
}
